//
//  NotificationViewController.m
//  B2C
//
//  Created by 李小龙 on 2017/10/12.
//  Copyright © 2017年 lixiaolong. All rights reserved.
//

#import "NotificationViewController.h"

@interface NotificationViewController ()

@end

@implementation NotificationViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.title = @"消息内容";
    [self updateData];
}

- (void)updateData {
    [self.notificationTitleLabel setText:self.detailModel.ititle];
    [self.notificationTimeLabel setText:[DateSomeThing getDateStrWithTimestampstr:self.detailModel.createtime formatStr:@"yyyy-MM-dd"]];
    [self.notificationContentLabel setText:self.detailModel.icontent];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
